<template>
  <!-- Default box -->
  <div class="card">
    <div class="card-header">
      <h3 class="card-title">系统主页</h3>
    </div>
    <div class="card-body">
      <h1 style="margin-left: 480px; margin-bottom: 100px">在线题库系统</h1>
      <div class="block">
        <el-carousel height="300px" style="width: 90%; margin: auto">
          <el-carousel-item v-for="item in 4" :key="item">
            <h3 class="small">{{ item }}</h3>
          </el-carousel-item>
        </el-carousel>
        <h6 style="margin: 30px 380px 10px 390px; opacity: 0.7">
          倚南窗以寄傲，审容膝之易安。园日涉以成趣，门虽设而常关
        </h6>
      </div>
    </div>
  </div>
  <!-- /.card-body -->
</template>

<script>
export default {
  name: "HomeMain",
  data() {
    return { visible: false };
  },
};
</script>

<style>
.el-carousel__item h3 {
  color: #475669;
  font-size: 14px;
  opacity: 0.75;
  line-height: 150px;
  margin: 0;
}

.el-carousel__item:nth-child(2n) {
  background-color: #99a9bf;
}

.el-carousel__item:nth-child(2n + 1) {
  background-color: #d3dce6;
}
</style>
